package com.dstz.demo.core.manager.impl;

import com.dstz.base.manager.Manager;
import com.dstz.base.manager.impl.BaseManager;
import com.dstz.demo.core.dao.ProcurementPlanningDao;
import com.dstz.demo.core.manager.ProcurementPlanningManager;
import com.dstz.demo.core.model.ProcurementPlanning;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;
@Service("ProcurementPlanningManager")
public class ProcurementPlanningManagerImpl extends BaseManager<String, ProcurementPlanning> implements ProcurementPlanningManager {
     @Resource
     ProcurementPlanningDao procurementPlanningDao;
     @Override
     public List<ProcurementPlanning> map(Map map) {
          return procurementPlanningDao.map(map);
     }
     @Override
     public Integer save(ProcurementPlanning procurementPlanning) {
          return procurementPlanningDao.save(procurementPlanning);
     }
}
